Implement ACPI APEI ERST feature
authorKeir Fraser <keir.fraser@citrix.com>
Sun, 22 Aug 2010 08:52:18 +0000 (09:52 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Sun, 22 Aug 2010 08:52:18 +0000 (09:52 +0100)
commit96590ca76049f2679ba72e43bc0bde6e9e537978
tree77bd60fffd99e086e569b7faa1793595c2c1a44d
parent37eb6d05fe1a343ec051f5d59e88b8ee5a450ceb
Implement ACPI APEI ERST feature

APEI are ACPI4.0 new features. It consists of ERST, BERT, HEST, and
EINJ.  ERST is used to save fault error log to a platform persistent
storage, so that when reboot os can retrieve the error log and handle
it.

This patch is used to implement ERST feature to Xen.  It consists of
3-level hierarchy: operation level, action level, and instru= ction
level.  Instruction do basic io; Action done by sequential
instructions parsed from ACPI ERST table; Operation done by
sequential actions defined by ACPI spec, providing erst_write/
erst_read/ erst_clear interfaces to MCE/ NMI/ PCIe error handling
mechanism, etc.

Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
13 files changed:
xen/arch/x86/acpi/boot.c
xen/drivers/acpi/Makefile
xen/drivers/acpi/apei/Makefile [new file with mode: 0644]
xen/drivers/acpi/apei/apei-base.c [new file with mode: 0644]
xen/drivers/acpi/apei/apei-internal.h [new file with mode: 0644]
xen/drivers/acpi/apei/apei-io.c [new file with mode: 0644]
xen/drivers/acpi/apei/erst.c [new file with mode: 0644]
xen/include/acpi/actbl1.h
xen/include/acpi/apei.h [new file with mode: 0644]
xen/include/asm-x86/fixmap.h
xen/include/xen/acpi.h
xen/include/xen/cper.h [new file with mode: 0644]
xen/include/xen/spinlock.h